package cn.itcast.nems.studentrecord.dao.mapper;

import cn.itcast.nems.studentrecord.dao.dataobject.JournalTransferLineDiscountDO;
import cn.itcast.nems.studentrecord.dao.entity.JournalTransferLineDiscount;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JournalTransferLineDiscountMapper extends BaseMapper<JournalTransferLineDiscount> {
    /**
     * <p>
     * 根据 转班凭单ID  和 范围类型 查询行优惠
     * </p>
     *
     * @param transferId 转班凭单ID
     * @param discountScopeType 范围类型
     * @author zhouwei
     * @since 2023/12/15 3:56 PM
     **/
    List<JournalTransferLineDiscountDO> findListByTransferId(@Param("transferId") String transferId , @Param("discountScopeType") String discountScopeType) ;
}
